package com.jyw.system.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.time.LocalTime;

/**
 * @author Created by ZhangCheng on 2024/01/11
 */
@Data
@ApiModel("系统工单期望完成时间配置实体")
public class SysOrderExpectedTimeConfigVo {

    @ApiModelProperty("上午开始时间")
    @NotNull(message = "上午开始时间不能为空")
    private LocalTime morningStartTime;

    @ApiModelProperty("上午结束时间")
    @NotNull(message = "上午结束时间不能为空")
    private LocalTime morningEndTime;

    @ApiModelProperty("下午开始时间")
    @NotNull(message = "下午开始时间不能为空")
    private LocalTime afternoonStartTime;

    @ApiModelProperty("下午结束时间")
    @NotNull(message = "下午结束时间不能为空")
    private LocalTime afternoonEndTime;

    @ApiModelProperty("明日开始时间")
    @NotNull(message = "明日开始时间不能为空")
    private LocalTime tomorrowStartTime;

    @ApiModelProperty("明日结束时间")
    @NotNull(message = "明日结束时间不能为空")
    private LocalTime tomorrowEndTime;

    @ApiModelProperty("超时时间")
    @NotNull(message = "超时时间不能为空")
    private Integer timeoutHour;
}
